package com.zxt.content.copywriting.service;

import com.zxt.content.copywriting.req.CopywritingApiDTO;
import com.zxt.content.copywriting.resp.PublicCopywritingVO;

import java.util.List;
import java.util.Map;

/**
 * 公共文案模块业务逻辑层
 */
public interface IPublicCopywritingService {

    /**
     * 查询所有公共文案
     *
     * @return
     */
    List<PublicCopywritingVO> queryList();

    /**
     * 查询
     *
     * @param dto
     * @return
     */
    PublicCopywritingVO query(CopywritingApiDTO dto);

    Map<String, PublicCopywritingVO> queryMap();
}
